<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cutex: cutex::QxDateEdit Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cutex
   </div>
   <div id="projectbrief">cute Qt extensions</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Suchen','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Suchen');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classcutex_1_1_qx_date_edit.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-slots">Öffentliche Slots</a> &#124;
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="#pro-methods">Geschützte Methoden</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attribute</a> &#124;
<a href="classcutex_1_1_qx_date_edit-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">cutex::QxDateEdit Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Die Klasse QxDateEdit stellt ein Widget zur Eingabe von Datumswerten bereit.  
 <a href="classcutex_1_1_qx_date_edit.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="qxdateedit_8h_source.html">qxdateedit.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für cutex::QxDateEdit:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcutex_1_1_qx_date_edit.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Öffentliche Slots</h2></td></tr>
<tr class="memitem:a1b00ef0e394613251fb17916352dab9b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_edit.html#a1b00ef0e394613251fb17916352dab9b">setDate</a> (const QDate &amp;<a class="el" href="classcutex_1_1_qx_date_edit.html#aef73413cc4500a22a46fdfb794092193">date</a>)</td></tr>
<tr class="separator:a1b00ef0e394613251fb17916352dab9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:ab295457ce0203f246d6494beb6c1be59"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_edit.html#ab295457ce0203f246d6494beb6c1be59">QxDateEdit</a> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:ab295457ce0203f246d6494beb6c1be59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58f56c6940d63d3f6f6a6ec806ab1cc1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_edit.html#a58f56c6940d63d3f6f6a6ec806ab1cc1">isEmptyDateEnabled</a> () const</td></tr>
<tr class="separator:a58f56c6940d63d3f6f6a6ec806ab1cc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2e0f8ec661173cc0858e7f464017554"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_edit.html#ad2e0f8ec661173cc0858e7f464017554">setEmptyDateEnabled</a> (bool enabled)</td></tr>
<tr class="separator:ad2e0f8ec661173cc0858e7f464017554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef73413cc4500a22a46fdfb794092193"><td class="memItemLeft" align="right" valign="top">QDate&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_edit.html#aef73413cc4500a22a46fdfb794092193">date</a> () const</td></tr>
<tr class="separator:aef73413cc4500a22a46fdfb794092193"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Geschützte Methoden</h2></td></tr>
<tr class="memitem:aad866c29bd76e0dafdb8319d7d5ddd98"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_edit.html#aad866c29bd76e0dafdb8319d7d5ddd98">keyPressEvent</a> (QKeyEvent *event)</td></tr>
<tr class="separator:aad866c29bd76e0dafdb8319d7d5ddd98"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:a1a1e5ed2aecf3c4ff57736ae87afb1e2"><td class="memItemLeft" align="right" valign="top"><a id="a1a1e5ed2aecf3c4ff57736ae87afb1e2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>focusChanged</b> (QWidget *old, QWidget *now)</td></tr>
<tr class="separator:a1a1e5ed2aecf3c4ff57736ae87afb1e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attribute</h2></td></tr>
<tr class="memitem:ac1cc80ec2ee5522cbbae4eede2588452"><td class="memItemLeft" align="right" valign="top"><a id="ac1cc80ec2ee5522cbbae4eede2588452"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_emptyDateEnabled</b></td></tr>
<tr class="separator:ac1cc80ec2ee5522cbbae4eede2588452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26b7c5348feb701aacfe81abd2fb8ddd"><td class="memItemLeft" align="right" valign="top"><a id="a26b7c5348feb701aacfe81abd2fb8ddd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_valid</b></td></tr>
<tr class="separator:a26b7c5348feb701aacfe81abd2fb8ddd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Die Klasse QxDateEdit stellt ein Widget zur Eingabe von Datumswerten bereit. </p>
<p>Ein Widget der Klasse QxDateEdit ermöglicht die Eingabe optionaler Datumswerte, z.B. für Geburtstage in einer Adressenverwaltung. Das Datum kann durch betätigen der Backspace-Taste gelöscht werden.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_date_validator.html" title="Die Klasse QxDateValidator ist ein Validator für Datumswerte.">QxDateValidator</a> </dd></dl>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a id="ab295457ce0203f246d6494beb6c1be59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab295457ce0203f246d6494beb6c1be59">&#9670;&nbsp;</a></span>QxDateEdit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxDateEdit::QxDateEdit </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt ein neues Widget mit dem Elternobjekt <em>parent</em>. </p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a id="aef73413cc4500a22a46fdfb794092193"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef73413cc4500a22a46fdfb794092193">&#9670;&nbsp;</a></span>date()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QDate QxDateEdit::date </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt das aktuelle Datum zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_date_edit.html#a1b00ef0e394613251fb17916352dab9b">setDate(const QDate &amp;date)</a> </dd></dl>

</div>
</div>
<a id="a58f56c6940d63d3f6f6a6ec806ab1cc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58f56c6940d63d3f6f6a6ec806ab1cc1">&#9670;&nbsp;</a></span>isEmptyDateEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QxDateEdit::isEmptyDateEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt true zurück, wenn leere Datumswerte erlaubt sind.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_date_edit.html#ad2e0f8ec661173cc0858e7f464017554">setEmptyDateEnabled(bool enabled)</a> </dd></dl>

</div>
</div>
<a id="aad866c29bd76e0dafdb8319d7d5ddd98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad866c29bd76e0dafdb8319d7d5ddd98">&#9670;&nbsp;</a></span>keyPressEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QxDateEdit::keyPressEvent </td>
          <td>(</td>
          <td class="paramtype">QKeyEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Wird aufgerufen wenn eine Taste gedrückt wurde. </p>

</div>
</div>
<a id="a1b00ef0e394613251fb17916352dab9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b00ef0e394613251fb17916352dab9b">&#9670;&nbsp;</a></span>setDate</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QxDateEdit::setDate </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&#160;</td>
          <td class="paramname"><em>date</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Ändert das aktuelle Datum auf den Wert <em>date</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_date_edit.html#aef73413cc4500a22a46fdfb794092193">date() const</a> </dd></dl>

</div>
</div>
<a id="ad2e0f8ec661173cc0858e7f464017554"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2e0f8ec661173cc0858e7f464017554">&#9670;&nbsp;</a></span>setEmptyDateEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxDateEdit::setEmptyDateEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Ändert die Einstellung ob leere Datumswerte erlaubt sind auf den Wert <em>enabled</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_date_edit.html#a58f56c6940d63d3f6f6a6ec806ab1cc1">isEmptyDateEnabled() const</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>cutex</b></li><li class="navelem"><a class="el" href="classcutex_1_1_qx_date_edit.html">QxDateEdit</a></li>
    <li class="footer">Erzeugt von <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
